package com.wsz.user.fengin;

import com.wsz.pojo.R;
import com.wsz.pojo.dto.MatchingDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("MATCHING")
public interface MatchingFeginClient {
    @PostMapping("/player/add")
    R addPlayer(@RequestBody MatchingDto matchingDto);

    @DeleteMapping("/player/remove")
    R removePlayer(@RequestBody MatchingDto matchingDto);
}
